package com.ittony.crm.service.impl;

import com.ittony.crm.domain.Customer;
import com.ittony.crm.mapper.CustomerMapper;
import com.ittony.crm.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("customerService")
public class CustomerServiceImpl implements CustomerService {

    @Autowired
    private CustomerMapper customerMapper;

    @Override
    public Customer queryCustomerById(String id) {
        return customerMapper.findCustomerById(id);
    }
}
